<div id="scheduleSandBox">
<% def makeRows(id, time) %>
				<td> <%= time.strftime("%I:%M %p") %> </td><% %w[Su Mo Tu We Th Fr Sa].each do |day| %>
				<td id="<%= id + day.downcase %>">&nbsp;</td><% end %><% end %>

	<table id="schedule_table">
		<thead>
			<tr>
				<!-- Empty one for the top left corner -->
				<th>&nbsp;</th><% for day in Date::DAYNAMES do %>
				<th id="<%= day %>"> <%= day %> </th><% end %>
				</tr>
		</thead>
		<tbody><% for i in (7 .. 20) do %>
			<tr id="<%= 't' + i.to_s + '.0' %>"><% makeRows('t' + i.to_s + '.0', Time.parse(i.to_s+':00')) %>
			</tr>
			<tr id="<%= 't' + i.to_s + '.5' %>">
				<% makeRows('t' + i.to_s + '.5', Time.parse(i.to_s+':30')) %>
			</tr><% end %>
		</tbody>
	</table>
</div>
